package cn.abyss.admin.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author zhangsj
 * @date Created on 2021/1/19
 */
@EnableConfigurationProperties
@Configuration
@ConfigurationProperties(prefix = "fabric.registry")
public class RegistryConfig {
    private List<Map<String,String>> configs;

    public List<Map<String, String>> getConfigs() {
        return configs;
    }

    public void setConfigs(List<Map<String, String>> configs) {
        this.configs = configs;
    }
}
